<template>
    <div class="panel">
        <el-button type="danger" class="btn" @click.stop="$emit('add')">新增</el-button>
    </div>
    
</template>

<script>

export default {
    name: "Panel",
    data() {
        return {
            input:''
        }
    },

};
</script>

<style lang="scss" scoped>
    .panel{
        margin-bottom: 20px;
        display: flex;
        .btn{
            margin-right: 20px;
        }
    }
</style>
